package com.petalsgroup.petals.dao.user;

import com.petalsgroup.petals.pojo.UserDO;

public interface UserDao {
    UserDO findUserByUsername(UserDO user);

    void register(UserDO user);

    UserDO findUuid(String code);

    void updateStatus(String code);

    UserDO login(String username, String password);

    UserDO findUserByUsernameAndEmail(UserDO user);

    Integer getUserInformNumByUid(Integer uid);
    void updateUserInformNumByUid(Integer uid,Integer inform_num);


    String getNameByUid(int uid);

    UserDO findUserByUid(int uid);
}
